package com.bytz.modules.cms.domain.model.pay;

import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotEmpty;
import java.util.List;

/**
 * 尾款入参
 *
 * @author shanxuezhong
 */
@Getter
@Setter
@EqualsAndHashCode(callSuper = true)
public class BalancePayIn extends PayInBase {

    @ApiModelProperty("支付商品明细")
    @NotEmpty(message = "支付商品明细不能为空")
    private List<BalancePayItem> payItems;

    @ApiModelProperty("需方交付客户编码")
    private String shipToNumber;

    @ApiModelProperty("需方交付单位名称")
    private String shipToName;

    @ApiModelProperty("收货地址")
    private String shipToAddress;

    @ApiModelProperty("收货联系人")
    private String shipToContact;

    @ApiModelProperty("收货联系人电话")
    private String shipToPhone;
}
